<link href="<?php echo base_url(); ?>public/admin/css/user.css" rel="stylesheet" type="text/css">

<div class="page-content">
    <div class="page-header position-relative">
        <h1>
            Hồ sơ
            <small>
                <i class="icon-double-angle-right"></i>
                Thông tin có dấu <span class="red-text"">*</span> không được để trống.
            </small>
        </h1>
    </div>
    <div class="main-div">
        <form method="post">
            <div class="group_info">
                <h3>Thông tin nhóm</h3>
                <div class="account-info-content-field">
                    <label for="email" class="lb_field">Nhóm:</label>
                    <div class="input-field">
                        <select name="group">
                            <?php
                                foreach($group as $value){
                                    if($value['GroupId'] == $gid){
                                        echo '<option value="'.$value['GroupId'].'" selected="selected">'.$value['GroupName'].'</option>';
                                    }else{
                                        echo '<option value="'.$value['GroupId'].'">'.$value['GroupName'].'</option>';
                                    }
                                }
                            ?>
                        </select>
                    </div>
                </div>
            </div>
            <div class="account-info">
                <h3>Thông tin tài khoản</h3>
                <div class="account-info-content">
                    <div class="account-info-content-field">
                        <label for="username" class="lb_field">Tài khoản: </label>
                        <div class="input-field">
                            <input type="text" id="username" name="username"  value="<?php echo $username; ?>" disabled="disabled"/>
                        </div>
                    </div>
                    <div class="account-info-content-field">
                        <label for="email" class="lb_field">Email: </label>
                        <div class="input-field">
                            <input type="text" id="email" name="email"  value="<?php echo $email; ?>"/>
                        </div>
                    </div>
                    <div class="account-info-content-field">
                        <label for="password" class="lb_field">Mật khẩu: </label>
                        <div class="input-field">
                            <input type="password" id="password" name="password"  value=""/>
                        </div>
                    </div>
                </div>
            </div>

            <div class="delivery-info">
                <h3>Thông tin khác</h3>
                <div class="delivery-info-content">
                    <div class="account-info-content-field">
                        <label for="name" class="lb_field">Họ tên:</label>
                        <div class="input-field">
                            <input type="text" id="name" name="name"  value=""/>
                        </div>
                    </div>
                    <div class="account-info-content-field">
                        <label for="phone" class="lb_field">Điện thoại:</label>
                        <div class="input-field">
                            <input type="text" id="phone" name="phone"  value="<?php echo $phone; ?>"/>
                        </div>
                    </div>
                    <div class="account-info-content-field">
                        <input type="submit" name="update_submit" class="btn-register-user-info" value="Cập nhật">
                    </div>
                </div>
            </div>
        </form>
    </div>

</div>